#include "mainwindow.h"
#include "./ui_mainwindow.h"
#include "Myprecent.h"
#include <QWidget>
MainWindow::MainWindow(QWidget *parent)
    : QMainWindow(parent)
    , ui(new Ui::MainWindow)
{
    ui->setupUi(this);
    // MyTreeView* myTreeView = new MyTreeView(this);
    // myTreeView->setBackgroundColor("");
    // myTreeView->addItem(":/qunyoujian.png", ":/qunyoujian-2.png", "Overview");
    // QStandardItem * item = myTreeView->addItem(":/dakaiwenjian.png", ":/dakaiwenjian-2.png", "Leaderboard");
    // myTreeView->addItem(item, ":/qunyoujian.png", ":/qunyoujian-2.png", "Message");
    // myTreeView->move(10, 10);
    // myTreeView->setMinimumSize(160, 300);
    // myTreeView->expandAll();
    // myTreeView->show();
    // Myprecent* precent = new Myprecent(this);
    // precent->setMinimumSize(200, 200);
    //this->setStyleSheet("background-color:#44444F;");
    //centralWidget(precent);
    //GraphicMainWindow* pwindow = new GraphicMainWindow(this);
    //pwindow->show();
}

MainWindow::~MainWindow()
{
    delete ui;
}
